package com.huixue.cn.ztej.utils;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil {

	public static String transfromDateToString(String pattern,Date date){
		String result = "";
		DateFormat formatter= new SimpleDateFormat(pattern); 
		result = formatter.format(date);
		return result;
	}
}
